import { ISearchItemType } from '/@/components/search/type/index';

const object: ISearchItemType = {
	// query,add,reset,delete 展示按钮对应字符串
	showButtonType: [],
	//初始化搜索框数据-对应propList中元素prop属性
	searchObj: {
		ProjectName: '',
		ProjectNo: '',
		StartTime: '',
	},
	size: 'small',
	//搜索框样式, type: 'input'输入框/type:'select'选择框两种
	propList: [
		{
			prop: 'ProjectName',
			type: 'input',
			label: '项目名称:',
			//输入框样式
			inputStye: {
				placeholder: '请输入项目名称',
			},
		},
		{
			prop: 'ProjectNo',
			type: 'input',
			label: '项目编号:',
			//输入框样式
			inputStye: {
				placeholder: '请输入项目编号',
			},
		},
		{
			prop: 'StartTime',
			type: 'date',
			label: '日期:',
			placeholder: '请选择日期',
		},
	],
};

export default object;
